﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace FiveMes.BookStore.Model.HomePage
{
    public class TakeStock:Entity<int>
    {
        /// <summary>
        /// 盘点单号
        /// </summary>
        [StringLength(50)]
        public string CheckNumber { get; set; }

        /// <summary>
        /// 盘点类型
        /// </summary>
        [StringLength(50)]
        public string CheckType { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        [StringLength(20)]
        public string ModifiedBy { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(100)]
        public string Remark { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        [StringLength(20)]
        public string Creator { get; set; }

        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        [StringLength(64)]
        public string ProductNumber { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        [StringLength(30)]
        public string BatchNumber { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [StringLength(10)]
        public string Unit { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 库存
        /// </summary>
        public int Inventory { get; set; }

        /// <summary>
        /// 盘点数
        /// </summary>
        public int InventoryCount { get; set; }

    }
}
